package com.xgpro.domain.archives.entity;

import lombok.Data;
import tk.mybatis.mapper.annotation.KeySql;

import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

/**
 * @program: xgpro__dev
 * @Description:
 * @Author: wangyang
 * @Date: 2019-10-08 22:50
 **/
@Data
@Table(name = "t_rank_approval")
public class RankApproval implements Serializable {

    @Id
    @KeySql(useGeneratedKeys = true)
    private Integer id;

    private String username;

    private Integer userId;

    //部门名称
    private String deptName;

    //当前职级名称
    private String upperRankName;

    //晋级职级id
    private Integer nextRankId;

    //晋级职级名称
    private String nextRankName;

    //岗位
    private String job;

    //学历
    private Integer eduKind;

    //入职时间
    private String hiredDate;

    //滞留年次
    private String detentionTime;

    //状态
    private Integer status;

    //驳回原因
    private String msg;

    //创建时间
    private Date creationTime;

    //修改时间
    private Date updateTime;
}